//
//  EpointBizTools.h
//  EpointFrame5
//
//  Created by 李亚春 on 14-1-24.
//  Copyright (c) 2014年 Epoint. All rights reserved.
//

#import <Foundation/Foundation.h>
@class EpointAttachOpenViewController;

@interface EpointBizTools : NSObject

//获取移动办公webservice地址
+(NSString *)getMobileOAWebserviceURL;

//获取附件下载地址，参数为传入部分地址
+(NSString *)getRealDownloadUrl:(NSString *)durl;

//打开附件阅读
+(void)openAttachNavController:(UIViewController *) vc url:(NSString *)DownLoadUrl fileName:(NSString *)fileName folderGuid:(NSString *)folderGuid;

//请求生产头像Url
+(NSString *)getUserHeadImageUrl:(NSString *)userguid;

+(NSString *)getUserHeadImageDataUrl:(NSString *)userguid;

+(NSString *)getUrl:(NSString *)pattern;
+(NSString *)getUrlTest:(NSString *)pattern;

+(NSString *)getToken;

+(NSString *)getEpointZeroReportWebserviceURL;
+(NSString *)getEpointZeroReportWebserviceNameSpace;
+(NSString *)getEpointZeroReportUserGuid;
+(NSString *)getZReportDownloadUrl:(NSString *)durl;

//保存附件到附近库
+(NSString *)saveAttachLib:(NSData *)fileData folderGuid:(NSString *)folderGuid fileName:(NSString *)fileName;
@end
